package com.macro.mall.service.impl;

import com.macro.mall.mapper.CmsPrefrenceAreaMapper;
import com.macro.mall.model.CmsPrefrenceArea;
import com.macro.mall.model.CmsPrefrenceAreaExample;
import com.macro.mall.service.CmsPrefrenceAreaService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/** 商品优选管理Service实现类 Created by macro on 2018/6/1. */
@Service
public class CmsPrefrenceAreaServiceImpl implements CmsPrefrenceAreaService {
  @Autowired private CmsPrefrenceAreaMapper prefrenceAreaMapper;

  @Override
  public List<CmsPrefrenceArea> listAll() {
    return prefrenceAreaMapper.selectByExample(new CmsPrefrenceAreaExample());
  }
}
